﻿@model QDT.Web.Admin.Models.LinkGroupModel
<div class="main_title">编辑
    @Html.ActionLink("返回列表", "Index")
    </div>
<div class="blank5"></div>
@using (Html.BeginForm("PostEdit", "LinkGroup", FormMethod.Post))
{
<table class="form" cellpadding="0" cellspacing="0">
	<tbody><tr>
		<td colspan="2" class="topTd"></td>
	</tr>
	<tr>
		<td class="item_title">分组名称:</td>
		<td class="item_input"><input type="text" class="textbox require" name="Name" value ="@Model.Name"></td>
	</tr>
	<tr>
		<td class="item_title">排序:</td>
		<td class="item_input"><input type="text" class="textbox" name="Sort" value="@Model.Sort" ></td>
	</tr>
	<tr>
		<td class="item_title">状态:</td>
		<td class="item_input">
			<lable>有效<input type="radio" name="IsEffect" value="true" @(Model.IsEffect ? "checked" : "")></lable>
			<lable>无效<input type="radio" name="IsEffect" value="false" @(!Model.IsEffect ? "checked" : "")></lable>
		</td>
	</tr>
	
	<tr>
		<td class="item_title"></td>
		<td class="item_input">
            <!--隐藏元素-->
            <input type="hidden" value="@Model.Id" name = "Id"/>
			<!--隐藏元素-->
			<input type="submit" class="button" value="编辑">
			<input type="reset" class="button" value="重置">
		</td>
	</tr>
	<tr>
		<td colspan="2" class="bottomTd"></td>
	</tr>
</tbody></table>	 
}

